import request from '@/utils/request'

// 获取操作日志列表
export const getOperationLogList = (userId: number) => request.get(`/public/operationLogs/${userId}`)

// 获取用户最近的操作日志
export const getRecentOperationLogs = (params: { userId: number; limit?: number }) =>
	request.get('/public/operationLogs/recent', { params })
